<?php

go(function(){

	$server = new Co\Http\Server('127.0.0.1',8812);

	$server->handle('/',function($request,$response){

		echo 'abc'.PHP_EOL;
		$response->end('<h1>协程http服务器</h1>');
	});

	$server->start();
});